﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.TextMining.TextScraping
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="filterID"></param>
    /// <param name="filteredContent"></param>
    public delegate void ContentFiltered(Guid filterID, string filteredContent);
    /// <summary>
    /// 
    /// </summary>
    public interface IFilter
    {
        event ContentFiltered OnContentFiltered;
        /// <summary>
        /// 
        /// </summary>
        Guid FilterID { get; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="srcContent"></param>
        void Filter(object srcContent);
    }
}
